/**
 * 
 */

window.onload=function(){
	var b = document.getElementById("btn");
	b.onclick=function(){
		var s1 = document.getElementById("su1");
		var s2 = document.getElementById("su2");
		
		var r = Number(s1.value) + Number(s2.value);
		alert("r=" + r);
	}
	
	var b2 = document.getElementById("btn2");
	b2.onclick=function(){
		var s3=document.getElementById("range");
		
		alert(s3.value);
	}
}

